package com.bjsxt.messageConsumer.config;

import com.bjsxt.redis.conf.RedisCacheConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * @ClassName : BuyactionMessageConsumerConfiguration
 * @Description :
 * @Author : ZWZ
 * @Date: 2021/8/27 16:26
 */
@Configuration
public class BuyactionMessageConsumerConfiguration extends RedisCacheConfiguration {

    @Bean
    @Override
    protected RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory redisConnectionFactory) {
        return super.redisTemplate(redisConnectionFactory);
    }

}
